<?php

namespace app\provider;

class AppProvider
{
    /**
     * 注册服务
     */
    public function register(){
        container()->bind([
            "errorLevel"=>'app\utils\error\Error_level',
            "errorCode"=>'app\utils\error\Error_code',
            "verifyParam"=>'app\utils\verify\Verify_param',
            "yifangTime"=>'app\utils\base\helper\Yifang_time',
            "yifangConfusionCode"=>'app\utils\base\helper\Yifang_confusion_code',

            "yifangSystemInfo"=>'app\utils\base\helper\Yifang_system_info',
            "yifangFormat"=>'app\utils\base\helper\Yifang_format',
            "yifangZip"=>'app\utils\base\helper\Yifang_zip',
            "yifangRandName"=>'app\utils\base\helper\Yifang_rand_name',
            "yifangDownload"=>'app\utils\base\helper\Yifang_download',

            "page"=>'yifang\lib\Page',
            "docParser"=>'app\utils\reflection\DocParser',
        ]);
    }
}